package com.xhh.reapply.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xhh.model.common.dtos.ResponseResult;
import com.xhh.model.reapply.dtos.FiltrateStudentDto;
import com.xhh.model.reapply.pojos.Score;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-08-03
 */
public interface IScoreService extends IService<Score> {

    /**
     * 分页条件查询考生信息
     * @param dto
     * @return
     */
    ResponseResult filtrateStudent(FiltrateStudentDto dto);

    /**
     * 根据准考证号获取考生成绩信息
     * @param stuCode
     * @return
     */
    ResponseResult getScoreByCode(String stuCode);

    /**
     * 根据考生号查看学生详情
     * @param studentCode
     * @return
     */
    ResponseResult getStuInfoById(String studentCode);

    /**
     * 判断考生是否上线
     * @param userId
     * @return
     */
    ResponseResult isOnline(Long userId);
}
